#ifndef USERINFOWIDGET_H
#define USERINFOWIDGET_H

#include <QDialog>
#include <QWidget>
#include <QLabel>
#include "model/data.h"
using model::UserInfo;

class userInfoWidget : public QDialog
{
    Q_OBJECT
public:
    userInfoWidget(QWidget* parent,const UserInfo* userInfo);
    void initSignalSlot();

    void clickApplyBtn();

private:
    QPushButton* avatarBtn;

    QLabel* idTag;
    QLabel* idLabel;
    QLabel* nameTag;
    QLabel* nameLabel;
    QLabel* descTag;
    QLabel* descLabel;

    QPushButton* sendMessageBtn;
    QPushButton* applyBtn;
    QPushButton* deleteFriendBtn;
};

#endif // USERINFOWIDGET_H
